package com.demo.service;

import com.demo.dao.UserDao;

public class UserService {
    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void addUser(){
        this.userDao.addUser();
    }
    public void updateUser(){
        this.userDao.updateUser();
    }
    public void deleteUser(){
        this.userDao.deleteUser();
    }
    public void findAllUser(){
        this.userDao.getUser();
    }
}
